package top.healthylife.gateway.platform.lexin.api.api;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.lexin.api.util.LeXinHttpUtil;
import top.healthylife.gateway.platform.lexin.dto.basereq.LeXinUnifyReqDto;
import top.healthylife.gateway.platform.lexin.dto.lexinjxelements.res.LeXinResJXElementsDto;

/**
 * 乐信Pro-三要素评分
 * @author YQ_Gao
 * @Auther gwx
 * @Date 2021/9/6
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20 , apiName = "乐图Pro三要素评分" ,docUrl = "-", info = "乐图Pro三要素评分")
public class LeXinJXElementsApi implements ParentFace<LeXinUnifyReqDto, LeXinResJXElementsDto> {

    static final String API_NAME = "乐图Pro三要素评分";

    @Override
    public LeXinResJXElementsDto execute(LeXinUnifyReqDto leXinUnifyReqDto) throws Exception {
        return LeXinHttpUtil.HttpRequest(leXinUnifyReqDto,API_NAME, LeXinResJXElementsDto.class);
    }
}
